package com.pfe.server.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * A location type has a unique description. 
 * 
 * @author Alexandra
 *
 */
@Entity
@Table(name = "LocationTypes")
public class LocationType{
	
	public static final String warehouseDescription = "warehouse";
	public static final String storeDescription = "store";

	private Long id;
	private String description;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}